package demo5;
class A{
    public void fun(int a){
        System.out.println("父类");
    }
}
class B extends A{
    public void fun(int a){
        System.out.println("子类");
        super.fun(a);
    }
}

public class javaTest5 {
    public void remove(int key) {
        if(isEmpty()){
            System.out.println("当前顺序表为空");
            return ;
        }
        int index;
        for (int i = 0; i < ; i++) {
            if(arr[i]==key){
                index=i;
            }
        }
        for (int i = index; i < useSize-1; i++) {
            if(arr[i]==key){
                
            }
        }
    }
    public static void main(String[] args) {

    }


    public static void main1(String[] args) {
        B b=new B();
        b.fun(10);
    }
}
